from pydantic import Field, BaseModel
from typing import List


class UserBatch(BaseModel):
    """登陆安全配置"""
    user: List[str] = Field(..., title='临锁用户')


class IPBatch(BaseModel):
    """登陆安全配置"""
    ip: List[str] = Field(..., title='临锁IP')
